package com.mm.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.mm.BaseSupper.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 角色表
 * </p>
 *
 * @author wdx
 * @since 2020-09-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("mm_role")
@ApiModel(value="MmRole对象", description="角色表")
public class MmRole extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "角色名")
    @TableField("role_name")
    private String roleName;

    @ApiModelProperty(value = "描述")
    @TableField("description")
    private String description;


    public static final String ROLE_NAME = "role_name";

    public static final String DESC = "desc";

}
